package com.example.video.admin_server.mapper;

import com.example.video.admin_server.entity.SysMenu;
import com.example.video.admin_server.entity.SysRoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统角色菜单中间表 Mapper 接口
 * </p>
 *
 * @author yj
 */
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

    List<SysMenu> findMenusByRoles(@Param("roleIds") List<Integer> roleIds, @Param("status") String status);

}
